# Template file for 'libedit'
pkgname=libedit
_datever=20140620
_distver=3.1
version=${_datever}.${_distver}
wrksrc="${pkgname}-${_datever}-${_distver}"
revision=1
build_style=gnu-configure
makedepends="ncurses-devel"
short_desc="Port of the NetBSD Command Line Editor Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="Simplified BSD"
homepage="http://www.thrysoee.dk/editline/"
distfiles="http://www.thrysoee.dk/editline/libedit-${_datever}-${_distver}.tar.gz"
checksum=a22b9b2a8cf4aec9ff51a57e8c848b69640d0195282159d245d8137a19bfcaf2

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