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

EAPI=4

PYTHON_DEPEND='2:2.6'

inherit python

DESCRIPTION="CLI curses based monitoring tool"
HOMEPAGE="https://github.com/nicolargo/glances"
SRC_URI="mirror://github/nicolargo/${PN}/${P}.tar.gz"

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

DEPEND=">=dev-python/pystatgrab-0.5"
RDEPEND="${DEPEND}"

pkg_preinst() {
	# trick to remove files installed in wrong dir
	rm -rf "${D}/usr/doc"
}
