# Template file for 'xboard'
pkgname=xboard
version=4.7.3
revision=1
build_style=gnu-configure
configure_args="--with-gtk --enable-zippy"
hostmakedepends="pkg-config"
makedepends="gtk+-devel cairo-devel librsvg-devel"
depends="gnuchess alsa-utils desktop-file-utils shared-mime-info hicolor-icon-theme"
short_desc="X graphical user interface for chess"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="GPL-3"
homepage="http://www.gnu.org/software/xboard/"
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=7fd0b03f53dad57c587bc3438459612e2455534f715cfb0e637b6290f34cbeaa

post_extract() {
	sed -i 's/fairymax/gnuchess/g' */xboard.h xboard.conf.in
}

post_install() {
	vbin cmail
}
