# Template file for 'scid_vs_pc'
pkgname=scid_vs_pc
version=4.17
revision=1
build_style=configure
hostmakedepends="tcl"
makedepends="tcl-devel tk-devel zlib-devel"
short_desc="A chess toolkit with extensive database, analysis and playing features"
maintainer="Orphaned <orphan@voidlinux.eu>"
license="GPL-2,custom"
homepage="http://scidvspc.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/scidvspc/source/scid_vs_pc-${version}.tgz"
checksum=c3bf0d8599817311794a2ce6af4180722442ec92168265f469b450b53be41b75

do_configure() {
	./configure CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
		LINK=${CXX} LDFLAGS="${LDFLAGS}" BINDIR=/usr/bin SHAREDIR=${pkgname}
}

post_install() {
	vlicense COPYING
}
