# Template build file for 'rxvt-unicode'.
pkgname=rxvt-unicode
version=9.10
distfiles="http://dist.schmorp.de/${pkgname}/${pkgname}-${version}.tar.bz2"
build_style=gnu_configure
configure_args="--with-terminfo=/usr/share/terminfo --enable-256-color
--enable-font-styles --enable-xim --enable-keepscrolling --enable-pixbuf
--enable-selectionscrolling --enable-smart-resize --enable-transparency
--enable-utmp --enable-wtmp --enable-lastlog --disable-frills"
short_desc="rxvt clone supporting Xft fonts and Unicode"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=1c238f7e545b1a8da81239b826fb2a7d196c73effbcbd211db7a50995a0a067a
long_desc="
 rxvt-unicode is a clone of the well known terminal emulator rxvt,
 modified to store text in Unicode (either UCS-2 or UCS-4) and to use
 locale-correct input and output. It also supports mixing multiple
 fonts at the same time, including Xft fonts."

Add_dependency run libgcc
Add_dependency run glibc
Add_dependency run fontconfig
Add_dependency run freetype
Add_dependency run libX11
Add_dependency run libXft
Add_dependency run libXrender
Add_dependency run gdk-pixbuf
Add_dependency run glib
Add_dependency full perl		">=0"

Add_dependency build pkg-config
Add_dependency build renderproto
Add_dependency build fontconfig-devel
Add_dependency build freetype-devel
Add_dependency build libX11-devel
Add_dependency build libXft-devel
Add_dependency build libXrender-devel
Add_dependency build gdk-pixbuf-devel
Add_dependency build glib-devel

post_install()
{
	install -D -m644 ${FILESDIR}/${pkgname}.desktop \
		${DESTDIR}/usr/share/applications/${pkgname}.desktop
	install -D -m644 ${FILESDIR}/${pkgname}.png \
		${DESTDIR}/usr/share/pixmaps/${pkgname}.png
}