# Template file for 'libutempter'
pkgname=libutempter
version=1.1.6
revision=2
build_style=gnu-makefile
short_desc="Library interface to record user sessions in utmp/wtmp files"
maintainer="Juan RP <xtraeme@gmail.com>"
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
long_desc="
 libutempter provides a library interface for terminal emulators such as
 screen and xterm to record user sessions to utmp and wtmp files."

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

libutempter_package() {
	pkg_install() {
		vmove usr
	}
}