```ruby
cask :v1 => 'box-sync' do
  version :latest
  sha256 :no_check

  url 'https://box.com/sync4mac'
  name 'Box Sync'
  homepage 'https://sites.box.com/sync4/'
  license :gratis

  app 'Box Sync.app'

  uninstall :quit => 'com.box.sync',
            :delete =>  [
                          '/Library/PrivilegedHelperTools/com.box.sync.iconhelper',
                          '/Library/PrivilegedHelperTools/com.box.sync.bootstrapper'
                        ]

  zap :delete =>  [
                    '~/Library/Application Support/Box/Box Sync',
                    '~/Library/Logs/Box/Box Sync'
                  ],
      :rmdir => '~/Library/Application Support/Box'
end
```

Update download URL for Box Sync
user
```ruby
cask :v1 => 'box-sync' do
  version :latest
  sha256 :no_check

  # boxcdn.net is the official download host per the vendor homepage
  url 'https://e3.boxcdn.net/box-installers/sync/Sync+4+External/Box%20Sync%20Installer.dmg'
  name 'Box Sync'
  homepage 'https://sites.box.com/sync4/'
  license :gratis

  app 'Box Sync.app'

  uninstall :quit => 'com.box.sync',
            :delete =>  [
                          '/Library/PrivilegedHelperTools/com.box.sync.iconhelper',
                          '/Library/PrivilegedHelperTools/com.box.sync.bootstrapper'
                        ]

  zap :delete =>  [
                    '~/Library/Application Support/Box/Box Sync',
                    '~/Library/Logs/Box/Box Sync'
                  ],
      :rmdir => '~/Library/Application Support/Box'
end
```
assistant