# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4

PortSystem          1.0
PortGroup           github 1.0

github.setup        ethereum go-ethereum 1.10.26 v
# Change github.tarball_from to 'releases' or 'archive' next update
github.tarball_from tarball

categories          finance
license             GPL-3+ LGPL-3+
maintainers         {umeshksingla @umeshksingla} openmaintainer
description         Official Go implementation of the Ethereum protocol
long_description    Ethereum is a public, blockchain-based distributed \
                    computing platform and operating system that runs \
                    smart contracts. Go Ethereum is one of the three \
                    original implementations of the Ethereum protocol.
homepage            https://geth.ethereum.org/

checksums           rmd160  06c97c9b47f57fed1cb368cee8b3bd63cab8c07e \
                    sha256  6aa2084f55f7a006fd2967e1355d297acac59fbc993bcc6343f6aa2568e085ac \
                    size    13105396

depends_build       port:go

use_configure       no

destroot {
    xinstall -W ${worksrcpath}/build/bin evm geth rlpdump puppeth ${destroot}${prefix}/bin
}