# Template file for 'libXt'
pkgname=libXt
version=1.3.0
revision=1
build_style=gnu-configure
configure_args="--enable-malloc0returnsnull"
hostmakedepends="pkg-config xorgproto"
makedepends="xorgproto libSM-devel libX11-devel"
short_desc="X Toolkit Intrinsics library"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://xorg.freedesktop.org"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.xz"
checksum=52820b3cdb827d08dc90bdfd1b0022a3ad8919b57a39808b12591973b331bf91

post_install() {
	vlicense COPYING
}

libXt-devel_package() {
	depends="${makedepends} ${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
	}
}
