# Template file for 'xst'
pkgname=xst
version=0.7.2
revision=3
build_style=gnu-makefile
make_use_env=compliant
hostmakedepends="pkg-config"
makedepends="libXft-devel libXext-devel fontconfig-devel"
depends="ncurses"
short_desc="St fork with support for xresources"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/neeasade/xst"
distfiles="https://github.com/neeasade/xst/archive/v${version}.tar.gz"
checksum=5cea5a8bae643ff7df7f8322958065edece354c272c0f987b1dcadcdec689f9a

do_install() {
	vbin xst
	vman doc/xst.1

	vinstall doc/xst.info 644 usr/share/terminfo/x xst.terminfo
	vdoc README.md README
	vdoc doc/FAQ
	vsed -i 's/st-256color/xst-256color/' doc/Xresources
	vdoc doc/Xresources
	vlicense doc/LICENSE
}
