# Template file for 'libutempter'
pkgname=libutempter
version=1.1.6
revision=3
build_style=gnu-makefile
short_desc="Library interface to record user sessions in utmp/wtmp files"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://freecode.com/projects/libutempter"
distfiles="ftp://ftp.altlinux.org/pub/people/ldv/utempter/${pkgname}-${version}.tar.bz2"
checksum=b898565f31ced7e5c1fa0a2eaa0f6ff0ed862b5fe375d26375b64bfbdfeac397

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