# Template file for 'libtecla'
pkgname=libtecla
version=1.6.3
revision=1
build_style=gnu-configure
makedepends="ncurses-devel"
short_desc="Provides interactive command line editing facilities"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT, X11"
homepage="http://www.astro.caltech.edu/~mcs/tecla"
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
checksum=f2757cc55040859fcf8f59a0b7b26e0184a22bece44ed9568a4534a478c1ee1a

post_install() {
	vlicense LICENSE.TERMS LICENSE
}

libtecla-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/lib/*.so
		vmove usr/share/man/man3
	}
}
