app=audacious
version=4.0.2
build=1sml
homepage="http://www.audacious-media-player.org"
download=""
desc="Lightweight, advanced audio player focused on audio quality"
requires="desktop-file-utils unzip hicolor-icon-theme gtk2 "

build() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version
  fixbuilddirpermissions

  ./configure \
    --prefix="" \
    --with-buildstamp='SMLinux' \
    --enable-gtk \
    --disable-qt

  make
  make install DESTDIR=$pkg

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
74f65d4e7975357f1492a4169f2c5d710d71f0021851853f47acbd8ea8da9678fca8f0363eeb97072be73129e4676bf76c9adb8fa6db7dbcd0f9ca4113265702  audacious-4.0.2.tar.lz
"
