# Template file for 'afterstep'
pkgname=afterstep
version=2.2.12
revision=1
wrksrc="${pkgname}-devel-${version}"
build_style=gnu-configure
configure_args="ac_cv_header_elf_h=no"
hostmakedepends="pkg-config"
makedepends="fltk-devel gtk+-devel"
short_desc="Window Manager based on the look and feel of the NeXTStep interface"
maintainer="Daniel James <djames@orcadian.net>"
license="MIT"
homepage="http://www.afterstep.org/"
distfiles="https://github.com/sashavasko/${pkgname}-devel/archive/${version}.tar.gz"
checksum=7a82d06a9ce432ef3b0856ff39f6da416aa8cbc249dbb2ff3c1cdcb02e2ca46d

post_install() {
	vlicense COPYRIGHT
}

afterstep-devel_package() {
	short_desc+=" - development files"
	depends="${sourcepkg}>=${version}_${revision}"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/*.a
		vmove usr/share/man/man3
	}
}
