# Template file for 'cscope'
pkgname=cscope
version=15.9
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="ncurses-devel"
short_desc="Interactively examine a C program"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="BSD-3-Clause"
homepage="https://cscope.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/cscope/cscope-${version}.tar.gz"
checksum=c5505ae075a871a9cd8d9801859b0ff1c09782075df281c72c23e72115d9f159

post_install() {
	vlicense COPYING
	cd contrib/xcscope
	vbin cscope-indexer
	vmkdir usr/share/emacs/site-lisp
	vinstall xcscope.el 644 usr/share/emacs/site-lisp
}
