snapcraft.yaml

 1name: matcha
 2base: core22 # The base snap for a modern Ubuntu LTS
 3version: "0.1" # This will be replaced by GoReleaser or can be set manually
 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 # must be 'stable' to release into candidate, stable channels
10confinement: strict # use 'strict' confinement for security
11
12apps:
13  matcha:
14    command: bin/matcha
15    plugs:
16      - network # Required for network access
17      - home # To access the user's home directory for config files
18
19parts:
20  matcha:
21    plugin: go
22    source: .
23    go-importpath: github.com/floatpane/matcha