cask "focus" do version "2.2.0" sha256 "7c2120ab7c030ea6e3f43a71dcaa944715b5cfaaf03fe7dfdf5a758ed0164533" url "https://heyfocus.com/uploads/Focus-v#{version}.zip" name "Focus" desc "Website and application blocker" homepage "https://heyfocus.com/" livecheck do url "https://heyfocus.com/focus.zip" strategy :header_match end depends_on macos: ">= :sierra" app "Focus.app" uninstall quit: "BradJasper.focus" zap trash: [ "~/Library/Application Support/Focus/", "~/Library/Caches/BradJasper.focus/", "~/Library/Preferences/BradJasper.focus.plist", ] end