# -*- 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
PortGroup           cargo   1.0

github.setup        soywod himalaya 0.9.0 v
github.tarball_from archive
revision            0

homepage            https://pimalaya.org/himalaya/

description         Minimalist CLI email client, written in Rust

long_description    {*}${description}. Bringing emails to the terminal is a \
                    pain. The mainstream TUI, (neo)mutt, takes time to \
                    configure. The default mapping is not intuitive when \
                    coming from the Vim environment. It is even scary to use \
                    at the beginning, since you are dealing with sensitive \
                    data! The aim of Himalaya is to extract the email logic \
                    into a simple (yet solid) CLI API that can be used either \
                    directly from the terminal or UIs. It gives users more \
                    flexibility. Himalaya installs a Vim-based termainal UI \
                    by default.

categories          mail
installs_libs       no
license             BSD
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

build.pre_args-delete \
                    --offline --frozen

checksums           rmd160  dfec417adad61d87fa77da965c905638d04d4215 \
                    sha256  9a5593a3a92dcce8227cea45870a88432d8df3a012636eb5461165cf599dbcbb \
                    size    89643

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
        ${destroot}${prefix}/bin/
}
