# Template file for 'xvkbd'
pkgname=xvkbd
version=3.7
revision=1
build_style=gnu-configure
hostmakedepends="imake xorg-cf-files gccmakedep"
makedepends="libXaw-devel libXaw3d-devel libXtst-devel"
short_desc="Virtual (graphical) keyboard program for X11"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-2"
homepage="http://t-sato.in.coocan.jp/xvkbd/"
distfiles="http://t-sato.in.coocan.jp/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=895f768269820e7c0379b0daac3687bda0c670d192ebb7e61e5613a5939ec90b
nocross=yes  # xmkmf broken

do_configure() {    
        xmkmf
}
pre_build() {
        export MODULE_CFLAGS="$CFLAGS"
        export LOCAL_LDFLAGS="$LDFLAGS"
}
post_install() {
	rm ${DESTDIR}/usr/lib/X11/app-defaults
	vman xvkbd.man xvkbd.1
}
