 ;;; lang/org/packages.el
 
 (package! org
-  :recipe (:host nil
-           :repo "https://git.savannah.gnu.org/git/emacs/org-mode.git"
+  :recipe (:host github
+           ;; REVIEW I intentionally avoid git.savannah.gnu.org because of SSL
+           ;;   issues (see #5655), uptime issues, download time, and lack of
+           ;;   shallow clone support.
+           :repo "emacs-straight/org-mode"
            :files (:defaults "etc")
+           :depth 1
            ;; HACK Org requires a post-install compilation step to generate a
-           ;;      org-version.el with org-release and org-git-version
-           ;;      functions, using a 'git describe ...' call.  This won't work
-           ;;      in a sparse clone and I value smaller network burdens on
-           ;;      users over non-essential variables so we fake it:
+           ;;   org-version.el with org-release and org-git-version functions,
+           ;;   using a 'git describe ...' call.  This won't work in a sparse
+           ;;   clone and I value smaller network burdens on users over
+           ;;   non-essential variables so we fake it:
            :build t
            :pre-build
            (with-temp-file "org-version.el"

                     (format "(defun org-git-version (&rest _) \"9.5-??-%s\")\n"
                             (cdr (doom-call-process "git" "rev-parse" "--short" "HEAD")))
                     "(provide 'org-version)\n")))
  :pin "cc2490a7061955395c4f5a1a23a088044554a2f7")
(package! org-contrib :pin "b8012e759bd5bf5da802b0b41734a8fec218323c")

(package! avy)
(package! htmlize :pin "dd27bc3f26efd728f2b1f01f9e4ac4f61f2ffbf9")

(when (featurep! +hugo)
  (package! ox-hugo
    :recipe (:host github :repo "kaushalmodi/ox-hugo" :nonrecursive t)
    :pin "14723c3cb93abec61a8bd35c6e4162754f902a6a"))
(when (featurep! :lang rst)
  (package! ox-rst :pin "99fa790da55b57a3f2e9aa187493ba434a64250e"))
