# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit distutils

MY_P="mBox-${PV}"

DESCRIPTION="Program intended to help you with organizing your music files."
HOMEPAGE="http://www.mbox.wz.cz"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 hppa ppc sparc x86"
IUSE="encode vorbis"

SRC_URI="http://www.mbox.wz.cz/src/${P}.tar.bz2"
DEPEND=">=dev-lang/python-2.1
	dev-python/wxpython
	dev-python/pyvorbis
	encode? (media-video/mplayer media-sound/lame)
	vorbis? (media-video/mplayer media-sound/vorbis-tools)"

S="${WORKDIR}/${MY_P}"

src_install() {
	distutils_src_install
	insinto /usr/share/pixmaps
	newins desktop-icon.png mBox.png
}