cask "maestral" do version "1.7.1" sha256 "dd92597b8cbdc37353f227d3d6d0b52f93d2e94e3c5d60b7dea59a270855527d" url "https://github.com/SamSchott/maestral/releases/download/v#{version}/Maestral-#{version}.dmg", verified: "github.com/SamSchott/maestral/" name "Maestral" desc "Open-source Dropbox client" homepage "https://maestral.app/" livecheck do url :url strategy :github_latest end auto_updates true depends_on macos: ">= :high_sierra" app "Maestral.app" binary "#{appdir}/Maestral.app/Contents/MacOS/maestral-cli", target: "maestral" uninstall quit: "com.samschott.maestral" zap trash: [ "~/Library/Application Support/maestral", "~/Library/LaunchAgents/com.samschott.maestral.maestral.plist", "~/Library/Logs/maestral", "~/Library/Preferences/com.samschott.maestral.plist", ] end