# Template file for 'foot'
pkgname=foot
version=1.9.2
revision=1
wrksrc=$pkgname
build_style=meson
configure_args="-Dwerror=false"
hostmakedepends="pkg-config scdoc wayland-devel"
makedepends="fcft-devel libutf8proc-devel libxkbcommon-devel ncurses-devel tllist
 wayland-devel wayland-protocols"
depends="${pkgname}-terminfo>=${version}_${revision}"
short_desc="Fast, lightweight and minimalistic Wayland terminal emulator"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://codeberg.org/dnkl/foot"
changelog="https://codeberg.org/dnkl/foot/src/branch/master/CHANGELOG.md"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=5859d8d7293da4c7c52f45a9756fc7989edc364057e8b86b4e1fbea7bc2b4009

post_install() {
	rm -f ${DESTDIR}/usr/share/doc/foot/LICENSE
	vlicense LICENSE
}

foot-terminfo_package() {
	short_desc+=" - terminfo data"
	pkg_install() {
		vmove usr/share/terminfo
	}
}
