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

MY_P="${PN}-r${PV}"

DESCRIPTION="A high-tech ttyrec player for Unix"
HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/ipbt/"
SRC_URI="http://www.chiark.greenend.org.uk/~sgtatham/ipbt/${MY_P}.tar.gz"

SLOT="0"
LICENSE="MIT"
KEYWORDS="~x86"
IUSE=""

DEPEND="virtual/libc
	sys-libs/ncurses
	dev-lang/perl"

RDEPEND="virtual/libc
	sys-libs/ncurses"

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

src_install() {
	dobin ipbt || die "Main binary does not exist!"
	dodoc README TODO || die "Documentation missing!"
}