Saute onion, garlic, and apricots in olive oil. Add lentils and stock. Bring to a boil, then reduce heat and simmer for 30 minutes.
Add tomatoes, cumin, thyme, and salt and pepper to taste, and simmer 10 minutes more.
Add lemon juice. Puree 1/2 of the soup in a blender, then return to the pot. Serve.
Makes 6-8 servings.