# Template file for 'xcircuit'
pkgname=xcircuit
version=3.10.30
revision=1
build_style=gnu-configure
make_build_args="ACLOCAL=aclocal AUTOMAKE=automake"
hostmakedepends="automake pkg-config"
makedepends="cairo-devel libXpm-devel libXt-devel tk-devel"
short_desc="Drawing publishable-quality electrical circuit schematic diagrams"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="http://opencircuitdesign.com/xcircuit/"
distfiles="http://opencircuitdesign.com/xcircuit/archive/xcircuit-${version}.tgz"
checksum=b2f63cba605e79cc2a08714bf3888f7be7174384ed724db3c70f8bf25c36f554
nocross="menudep: cannot execute binary file"
make_check=no # what tests are you even running

post_install() {
	vmkdir usr/share/man/man1
	mv ${DESTDIR}/usr/lib/xcircuit-${version%.*}/man/* ${DESTDIR}/usr/share/man/man1/
	rm -rf ${DESTDIR}/usr/lib/xcircuit-${version%.*}/man
}
