We compute charmonium spectral functions in 2-flavor QCD on anisotropic lattices using the maximum entropy method. Our results suggest that the S-waves (J/psi and etac) survive up to temperatures close to 2Tc, while the P-waves (chic0 and chic1) melt away below 1.2Tc.