{ "name": "mutt", "version": "2.4.2", "summary": "mutt: the console mail reader, with IMAP, POP3 and SMTP over TLS, a header cache and PGP through gpg", "category": "network", "license": "GPL-2.0-or-later", "homepage": "http://www.mutt.org/", "source": { "url": "https://ftp.osuosl.org/pub/mutt/mutt-2.4.2.tar.gz", "sha256": "2703ff1a51a99c3163d4fd998ac22e982bbd5493d512a7c5bde716a8adba0394" }, "watch": {"kind": "index", "url": "https://ftp.osuosl.org/pub/mutt/", "regex": "mutt-([0-9]+(?:\\.[0-9]+)+)\\.tar\\.gz"}, "deps": [ "openssl", "ncurses", "lmdb", "zlib" ], "env_packages": [], "static": true, "nss": true, "check": "t=$(mktemp -d) && bin/mutt -v > \"$t/v\" && has '^Mutt 2.4.2' < \"$t/v\" && has '+USE_SSL_OPENSSL' < \"$t/v\" && has '+USE_IMAP' < \"$t/v\" && has '+USE_HCACHE' < \"$t/v\" && printf '#!/bin/sh\\ncat > \"%s/mail.out\"\\n' \"$t\" > \"$t/sendmail\" && chmod +x \"$t/sendmail\" && printf 'bvs mutt body\\n' | HOME=$t bin/mutt -n -F /dev/null -e \"set sendmail=$t/sendmail from=bvs@example.org use_from=yes copy=no\" -s 'bvs mutt subject' -a \"$t/sendmail\" -- to@example.org && has -x 'Subject: bvs mutt subject' < \"$t/mail.out\" && has -x 'To: to@example.org' < \"$t/mail.out\" && has -x 'bvs mutt body' < \"$t/mail.out\" && has -E 'filename=\"?sendmail\"?$' < \"$t/mail.out\" && { printf 'From bvs@example.org Fri Oct 2 10:00:00 2026\\n'; cat \"$t/mail.out\"; } > \"$t/mbox\" && HOME=$t tui_screen 3 bin/mutt -n -F /dev/null -e \"set folder=$t\" -f \"$t/mbox\" > \"$t/screen\" && has 'bvs mutt subject' < \"$t/screen\" && echo 'mutt 2.4.2: a message with an attachment handed to sendmail, then read back from an mbox in the index'" }