2 arch arm: "apple", intel: "intel"
6 on_catalina :or_older do
7 sha256 "4d44b763ea114e2aae61aaaa8171fd54a9095a06cd8e84a863675b1bbc75a24a"
9 url "https://github.com/ankitects/anki/releases/download/#{version}/anki-#{version}-mac-#{arch}-qt5.dmg",
10 verified: "github.com/ankitects/anki/"
12 on_big_sur :or_newer do
13 sha256 arm: "004a72ad9050fb4148f42c7009a70695b303319ede79b0513e443436cb6e6e79",
14 intel: "77de257e4d695098319380f2970f9f0b6aadf307d127bb494189be0a1a752799"
16 url "https://github.com/ankitects/anki/releases/download/#{version}/anki-#{version}-mac-#{arch}-qt6.dmg",
17 verified: "github.com/ankitects/anki/"
21 desc "Memory training application"
22 homepage "https://apps.ankiweb.net/"
26 strategy :github_latest
29 depends_on macos: ">= :high_sierra"
33 zap trash: "~/Library/Application Support/Anki*"