# Template build file for 'libXft'.
pkgname=libXft
version=2.3.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xproto libXrender-devel freetype-devel fontconfig-devel"
short_desc="Library for configuring and customizing font access"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=f5a3c824761df351ca91827ac221090943ef28b248573486050de89f4bfcdc4c

libXft-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
	}
}
