# Template file for 'racket'
pkgname=racket
version=6.2
revision=3
build_style=gnu-configure
build_wrksrc=src
hostmakedepends="gsfonts"
makedepends="sqlite-devel gtk+-devel"
depends="gtk+"
short_desc="A programmable programming language"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="LGPL-3"
homepage="http://racket-lang.org/"
distfiles="http://mirror.racket-lang.org/installers/$version/$pkgname-$version-src.tgz"
checksum=1331113742b3b3c26b5b95242c714379f1e5f325fad824bb28eeb7b4be03e615
build_pie=yes
nostrip=yes
configure_args="--disable-docs"

if [ "$CROSS_BUILD" ]; then
	configure_args+=" --enable-racket=/usr/bin/racket"
	hostmakedepends+=" racket"
fi

post_install() {
	vlicense COPYING-libscheme.txt
}
