# Template file for 'libt3window'
pkgname=libt3window
version=0.4.1
revision=1
build_style=configure
configure_args="--prefix=/usr"
hostmakedepends="pkg-config gettext"
makedepends="libtool gettext-devel ncurses-libtinfo-devel libtranscript-devel
 libunistring-devel"
short_desc="Tilde Terminal Toolkit's window library"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://os.ghalkes.nl/t3/libt3window.html"
distfiles="https://os.ghalkes.nl/dist/libt3window-${version}.tar.bz2"
checksum=4c14d3f4f946637fd6c3fa23ef7511fa505880946e151406d5e16f645d24e792

export LIBTOOL=${XBPS_CROSS_BASE}/usr/bin/libtool

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