1name: matcha
2base: core22
3adopt-info: matcha
4summary: A beautiful and functional email client for your terminal.
5description: |
6 A beautiful and functional email client for your terminal, built with Go and the charming Bubble Tea TUI library.
7 Never leave your command line to check your inbox or send an email again!
8
9grade: stable
10confinement: strict
11architectures:
12 - build-on: [amd64]
13 build-for: [amd64]
14 - build-on: [arm64]
15 build-for: [arm64]
16
17apps:
18 matcha:
19 command: bin/matcha
20 plugs:
21 - network
22 - home
23
24parts:
25 matcha:
26 plugin: go
27 source: .
28 build-snaps:
29 - go/1.26/stable
30 build-packages:
31 - gcc
32 - libc6-dev
33 - libpcsclite-dev
34 - pkg-config
35 build-environment:
36 - CGO_ENABLED: "1"
37 override-pull: |
38 craftctl default
39 version="$(git describe --tags --abbrev=0 2>/dev/null | sed 's/^v//' || echo 0.1)"
40 craftctl set version="$version"