# Template file for 'libXaw3d'
pkgname=libXaw3d
version=1.6.3
revision=2
build_style=gnu-configure
configure_args="--disable-static --enable-internationalization --enable-multiplane-bitmaps
 --enable-gray-stipples --enable-arrow-scrollbars --with-pic --with-gnu-ld"
hostmakedepends="automake bison libtool pkg-config"
makedepends="libXmu-devel libXpm-devel xorg-util-macros"
short_desc="X Athena Widget 3d library"
maintainer="Carlo Dormeletti <carlo.dormeletti@alice.it>"
license="MIT/X11"
homepage="https://cgit.freedesktop.org/xorg/lib/libXaw3d"
distfiles="${XORG_SITE}/lib/${pkgname}-${version}.tar.bz2"
checksum=2dba993f04429ec3d7e99341e91bf46be265cc482df25963058c15f1901ec544

post_install() {
	vlicense COPYING
}

libXaw3d-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}

