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

EAPI=3

inherit python git

DESCRIPTION="xib-bot is an XMPP-IRC bridge bot written in python."
HOMEPAGE="http://changaco.net/code/xib/"
EGIT_REPO_URI="git://changaco.net/xib.git"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

PYTHON_DEPEND="2:6"

RDEPEND="dev-python/xmppony
		dev-python/argparse"

src_install() {
	cd $S
	dodir "/usr/share/xib-bot"
	cp *.py "${D}/usr/share/xib-bot/"
	dodoc README example_config.xml
	newinitd "${FILESDIR}/xib-bot.initd" xib-bot
}
