# Template build file for 'libXi'.
pkgname=libXi
version=1.7.4
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config xmlto"
makedepends="inputproto libXfixes-devel libXext-devel"
short_desc="X Input extension library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=2cffc2686618dc1803725636cd92b36342c512dc60a7a35cba34bf7192a42244

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