# -*- 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

name            calcurse
version         4.8.2
categories      sysutils
maintainers     {puffin.lb.shuttle.de:michael.klein @mklein-de} openmaintainer
license         BSD

description     text-based personal organizer
long_description \
    Calcurse is a text-based personal organizer which helps \
    keep track of events and everyday tasks.

homepage        https://calcurse.org
master_sites    ${homepage}/files

checksums       rmd160  691ac6aa1cf85bed054f8820217c617a49b7a0f2 \
                sha256  849ba852c7f37b6772365cb0c42a94cde0fe75efba91363e96a0e7ef797ba565 \
                size    753648

depends_build-append \
                port:gettext \
                port:libiconv \
                path:bin/pkg-config:pkgconfig

depends_lib-append \
                port:gettext-runtime \
                port:ncurses

configure.args-append --disable-rpath

livecheck.type  regex
livecheck.url   ${homepage}/downloads/
livecheck.regex "latest.*>(\\d+(?:\\.\\d+)*)</"
