# Template build file for 'libXt'.
pkgname=libXt
version=1.1.4
revision=2
build_style=gnu-configure
configure_args="CC_FOR_BUILD=cc CFLAGS_FOR_BUILD="
hostmakedepends="pkg-config xproto"
makedepends="xproto kbproto libSM-devel libX11-devel"
short_desc="X Toolkit Intrinsics library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=843a97a988f5654872682a4120486d987d853a71651515472f55519ffae2dd57

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