# Copyright 2022-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit elisp

MY_COMMIT="34251b799eba70739664c5022c37ddc0a14de872"
DESCRIPTION="Emacs client for ccls, a C/C++ language server"
HOMEPAGE="https://github.com/emacs-lsp/emacs-ccls"
SRC_URI="https://github.com/emacs-lsp/emacs-ccls/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}"/${PN}-${MY_COMMIT}

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
	app-emacs/dash
	app-emacs/lsp-mode
"
BDEPEND="${RDEPEND}"

SITEFILE="50${PN}-gentoo.el"
