# Template build file for 'libXaw'.
pkgname=libXaw
version=1.0.11
revision=2
build_style=gnu-configure
configure_args="--without-xmlto"
hostmakedepends="pkg-config"
makedepends="libXext-devel libXt-devel libXmu-devel libXpm-devel"
short_desc="X Athena Widgets Library from modular Xorg X11"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://xorg.freedesktop.org"
license="MIT/X11"
distfiles="${XORG_SITE}/lib/$pkgname-$version.tar.bz2"
checksum=87a874acbb71d1ee59b8047312fc91d89dcb373e2970f121184cdae29a3d9492
long_desc="
 Xaw is the X Athena Widget Set. Xaw is a widget set based on the
 X Toolkit Intrinsics (Xt) Library."

libXaw-devel_package() {
	depends="xproto libXext-devel libXt-devel libXmu-devel libXpm-devel libXaw>=$version"
	short_desc="${short_desc} -- development files"
	pkg_install() {
		vmove usr/include
		vmove "usr/lib/*.a"
		vmove usr/lib/pkgconfig
		vmove usr/share
	}
}

libXaw_package() {
	pkg_install() {
		vmove usr
	}
}
