# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Command line interface for running a full Ethereum node"
HOMEPAGE="https://www.ethereum.org/"
SRC_URI="https://github.com/ethereum/go-ethereum/archive/v${PV}.tar.gz"

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

RDEPEND=""

DEPEND="dev-lang/go"

S="${WORKDIR}/go-ethereum-${PV}"

src_compile() {
	emake geth
}

src_install() {
	dobin build/bin/geth
	dodoc README.md AUTHORS
}