# Template file for 'xterm'
pkgname=xterm
version=324
revision=1
build_style=gnu-configure
configure_args="--enable-wide-chars --enable-88-color --enable-broken-osc
 --enable-256-color --enable-luit --enable-paste64 --enable-ansi-color
 --enable-mini-luit --enable-readline-mouse --enable-broken-st
 --enable-narrowproto --libdir=/etc --enable-load-vt-fonts
 --with-app-defaults=/usr/share/X11/app-defaults --enable-i18n
 --disable-full-tgetent --disable-imake --enable-doublechars
 --enable-freetype --enable-tcap-query --enable-logging --enable-dabbrev
 --with-pkg-config=yes --enable-exec-xterm --with-utempter"
hostmakedepends="pkg-config"
makedepends="libXft-devel libXaw-devel ncurses-devel fontconfig-devel libX11-devel
 libXmu-devel libXt-devel libICE-devel libutempter-devel libxkbfile-devel"
short_desc="X Terminal Emulator"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://invisible-island.net/xterm/"
license="MIT"
distfiles="ftp://invisible-island.net/xterm/$pkgname-$version.tgz"
checksum=70ecbec8d27789248e8ae2dc2cf159a2e189c152a6559a2b3df7f4838da36092

post_install() {
	for f in {u,}xterm.desktop; do
		vinstall $f 644 usr/share/applications
	done
}
