# Template build file for 'libXtst'.
pkgname=libXtst
version=1.2.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="recordproto inputproto libXext-devel libXi-devel"
short_desc="X Tst Library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=ef0a7ffd577e5f1a25b1663b375679529663a1880151beaa73e9186c8309f6d9

libXtst-devel_package() {
	depends="recordproto libXext-devel libXi-devel libXtst>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.a"
		vmove usr/share
	}
}

libXtst_package() {
	pkg_install() {
		vmove usr
	}
}