# Template file for 'timidity'
pkgname="timidity"
version="2.14.0"
revision=1
build_style=gnu-configure
wrksrc="TiMidity++-${version}"
short_desc="A MIDI to WAVE converter and player"
maintainer="David <kalichakra@zoho.com>"
license="GPL-2"
homepage="http://timidity.sourceforge.net"
distfiles="${SOURCEFORGE_SITE}/${pkgname}/TiMidity++-${version}.tar.xz"
checksum="abf0c8367959e85c9e635b8fbd5183fc27bd380e0ef5e45de4158784538c86fc"
nocross="configure: error: cannot run test program while cross compiling"

makedepends="alsa-lib-devel libvorbis-devel libao-devel libflac-devel
 libX11-devel gtk+-devel ncurses-devel"

configure_args="--with-default-path=/etc/timidity \
		--enable-audio=alsa,oss,ao,vorbis,flac --enable-server \
		--enable-alsaseq=yes --enable-network \
		--enable-gtk --enable-ncurses"
