The capability of analyzing hologram lenses recorded with arbitrary wavefronts has been added to a holographic raytracing design program. The recording wavefronts are defined by analytical phase functions, for example, a two-dimensional polynominal expansion. The coefficients of the functional representations of the recording wavefronts are used as parameters to optimize the performance of an optical system containing the hologram lens. The optimum recording wavefronts are then produced with the help of computer-generated holo-grams. Several useful arbitrary wavefront phase functions are discussed. Design predictions and experimental results will be shown for a holographic Fourier transform lens recorded with the aid of a computer-generated hologram.