     (when-not (empty? files)
       (let [proto (peek files)
             files (pop files)]
+        ;; TODO Somehow check for :proto-path too?
         (if (or (.exists (io/file "proto" proto))
                 (.exists (io/file target "proto" proto)))
           (recur files)

  (java.net.URL.
   (format "http://protobuf.googlecode.com/files/protobuf-%s.zip"  version)))

(defn- proto-dependencies
  "look for lines starting with import in proto-file"
  [proto-file]

(defn fetch
  "Fetch protocol-buffer source and unzip it."
  [project]
  (let [target (target project)]
    (when-not (.exists (io/file target srcdir))
      (let [zipped (io/file target zipfile)]
        (println "Downloading" zipfile)
