# Template build file for 'libXpm'.
pkgname=libXpm
version=3.5.11
revision=2
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="xproto libSM-devel libXext-devel libXt-devel"
short_desc="X PixMap Library from modular Xorg X11"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT"
homepage="${XORG_SITE}"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=c5bdafa51d1ae30086fac01ab83be8d47fe117b238d3437f8e965434090e041c

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