# Template file for 'audacious'.
pkgname=audacious
version=3.4
revision=1
build_style=gnu-configure
configure_args="--enable-thunar"
hostmakedepends="pkg-config"
makedepends="libSM-devel gtk+3-devel dbus-glib-devel libguess-devel"
short_desc="Lightweight, advanced audio player focused on audio quality"
maintainer="davehome <davehome@redthumb.info.tm>"
license="GPL-3"
homepage="http://audacious-media-player.org/"
distfiles="http://distfiles.${pkgname}-media-player.org/${pkgname}-${version}.tar.bz2"
checksum=a401b4ce85fda23bcb17c187f006ee00e8af2e5e4000768dee08b8108ed975c2
long_desc="
 Audacious is an open source audio player. A descendant of XMMS, Audacious plays
 your music how you want it, without stealing away your computers resources
 from other tasks. Drag and drop folders and individual song files, search for
 artists and albums in your entire music library, or create and edit your own
 custom playlists. Listen to CDs or stream music from the Internet. Tweak the
 sound with the graphical equalizer or experiment with LADSPA effects. Enjoy the
 modern GTK-themed interface or change things up with Winamp classic skins. Use
 the plugins included with Audacious to fetch lyrics for your music, to set an
 alarm in the morning, and more."

audacious-devel_package() {
	depends="audacious>=${version}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
		vmove "usr/lib/*.so"
	}
}

audacious_package() {
	depends="desktop-file-utils hicolor-icon-theme"
	pkg_install() {
		vmove all
	}
}
